package com.bdqn.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor  //无参构造
@Accessors(chain = true)   //链式编程
public class Dept implements Serializable {   //实体类  orm  类表关系映射

    private Integer deptno;
    private String dname;
    private String db_source;


    public Dept(String dname) {
        this.dname = dname;
    }
}
